Skip to main content

csvData

Type

property

Summary

Gets or sets the data to display the chart in CSV format

Syntax

set the csvData of widget to <CSV Data>
get the csvData of widget

Description

Simple way to set chart data, but with limited possibilities. Property csvData is no compatible with all types of charts and the first column will be taken as the label for that data set.

Examples

on mouseUp
set the lockChartUpdates of widget "Chart View" to true
set the csvData of widget "Chart View" to \
url("https://api.blockchain.info/charts/market-price?format=csv&timespan=5weeks")
set the lockChartUpdates of widget "Chart View" to false
end mouseUp

Compatibility and Support

OS

mac

windows

linux

ios

android

web